<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
  <head>
    <title>Portecle: How to generate a key pair entry</title>
    <link rel="stylesheet" href="help.css" type="text/css">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>

  <body>

    <h1>How to generate a key pair</h1>
    <hr>

    <p>
      To generate a key pair entry in a keystore:
    </p>

    <ol>
      <li>From the <b>Tools</b> menu, choose <b>Generate Key Pair</b>.
        Alternatively click on the <b>Generate Key Pair</b> toolbar
        button:<br><img src="genkeypair.gif" alt="Generate key pair icon"
                        width="16" height="16"></li>

      <li>The <b>Generate Key Pair</b> dialog will be displayed.  Select a
        <b>Key Algorithm</b> and <b>Key Size</b> and press the <b>OK</b>
        button. Key pair generation will start in the background.</li>

      <li>The <b>Generate Certificate</b> dialog will be displayed.</li>

      <li>Enter the certificate details and press the <b>OK</b> button.</li>

      <li>If key pair generation is still in progress, the
        <b>Generating Key Pair</b> dialog will be displayed and will
        remain visible until key pair generation has completed.
        Depending on the key size chosen and the speed of your
        computer it may take some time for this step to complete.
        You therefore have the option to abort the key pair generation
        by pressing the cancel button on this dialog. Note however that
        at this time, aborting the key pair generation will only cancel the
        generation window and will let you continue using the user interface;
        the actual key pair generation will continue to run to completion in
        the background.</li>

      <li>The <b>Key Pair Entry Alias</b> dialog will be displayed.</li>

      <li>Enter the alias for the new key pair entry and press the
        <b>OK</b> button.</li>

      <li>If the current keystore type is not <b>PKCS #12</b>:
        <ul>
          <li>The <b>Key Pair Entry Password</b> dialog will be displayed.</li>
          <li>Enter the password to protect the new key pair entry with,
            confirm it and press the <b>OK</b> button.</li>
        </ul>
      </li>

      <li>The new key pair entry will appear in the keystore entries
        table.</li>
    </ol>

    <p>
      <b>Shortcut key:</b> Ctrl-G.
    </p>

    <hr>
  </body>
</html>
